package com.fire.control.system.support.protocol.role;

import com.fire.control.system.entity.Role;
import com.fire.control.system.support.protocol.comman.RequestProtocol;

/**
 * @author liuxincheng
 * @ClassName: RoleRequestProtocol
 * @Description: TODO(角色请求协议)
 * @date 2017年6月22日 下午7:41:47
 */
public class RoleRequestProtocol extends RequestProtocol {

	private static final long serialVersionUID = 1L;

	//传入的角色实体
	private Role r;

	//传入资源id
	private String[] resourceId;
	
	private String id;
	
	private String roleId;
	
	public Role getR() {
		return r;
	}

	public void setR(Role r) {
		this.r = r;
	}

	public String[] getResourceId() {
		return resourceId;
	}

	public void setResourceId(String[] resourceId) {
		this.resourceId = resourceId;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}
}
